package com.comm.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 行政区划表(TbArea)实体类
 *
 * @author makejava
 * @since 2023-08-04 17:28:58
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TbArea implements Serializable {
    private static final long serialVersionUID = -20972027420378778L;
    /**
     * 行政区划代码
     */
    private Integer code;
    /**
     * 名字
     */
    private String name;
    /**
     * country:国家、province:省份（直辖市会在province和city显示）、city:市（直辖市会在province和city显示）、district:区县
     */
    private String level;
    /**
     * 所属行政区划代码
     */
    private String pcode;
    /**
     * 所属行政区划名字
     */
    private String pname;
    /**
     * 行政区划完整名字
     */
    private String fullname;
    /**
     * 经度
     */
    private String longitude;
    /**
     * 纬度
     */
    private String latitude;


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getPcode() {
        return pcode;
    }

    public void setPcode(String pcode) {
        this.pcode = pcode;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getFullname() {
        return fullname;
    }

    public void setFullname(String fullname) {
        this.fullname = fullname;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

}

